<template>
  <div id="app">
    <iframe id="yxrIframe" class="ueIframe" frameborder="0"></iframe>
    <router-view />
  </div>
</template>

<script>
import $ from "jquery";
export default {
  name: "App",
  components: {},
  mounted() {
    initApiFun("30681052", "98655709", () => {}, "web", true);
  },
  methods: {},
};
$(function () {
  let fz = ($("body").width() / 1920) * 20;
  window.fz = fz;
  $("body").css("fontSize", fz + "px");
  $("html").css("fontSize", fz + "px");
  $(window).resize(function () {
    let fz = ($("body").width() / 1920) * 20;
    window.fz = fz;
    $("body").css("fontSize", fz + "px");
    $("html").css("fontSize", fz + "px");
  });
});
</script>

<style lang="less" scoped>
#app {
  font-family: AlimamaShuHeiTi-Bold, Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  width: 100%;
  height: 100%;
}

*,body {
  padding: 0 !important; 
  margin: 0 !important;
}
.ueIframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
</style>
